package com.yoshino.leetcode.oneHundred.third;

class Solution {
    public String replaceSpace(String s) {
        return s.replace(" ", "%20");
    }

    public String reverseLeftWords(String s, int n) {
        return s.substring(n) + s.substring(0, n);
    }
}